Skip to content

fix(webconsole): the webconsole now redirect to the slave.jsp when required [5.19.x]#1936

Merged
jbonofre merged 2 commits intoapache:activemq-5.19.xfrom
jbonofre:backport-1931-5.19.x
Apr 17, 2026
Merged

fix(webconsole): the webconsole now redirect to the slave.jsp when required [5.19.x]#1936
jbonofre merged 2 commits intoapache:activemq-5.19.xfrom
jbonofre:backport-1931-5.19.x

Conversation

@jbonofre
Copy link
Copy Markdown
Member

Backport of #1931 to the activemq-5.19.x branch.

When using <broker ... startAsync="true"> in master/slave mode, the Jetty server can be started on slave.

In that case, the broker is not a "full active" broker yet, and the Web Console is poorly failing with an exception (and long stack trace in the log).

This PR fixes the Web Console, now dealing with slave broker and redirecting cleanly to slave.jsp.

NB: no impact on standalone/master broker, same behavior as today.

…quired (slave broker with startAsync="true")
@jbonofre jbonofre changed the title fix(webconsole): the webconsole now redirect to the slave.jsp when required [backport #1931 to activemq-5.19.x] fix(webconsole): the webconsole now redirect to the slave.jsp when required [5.19.x] Apr 16, 2026
cshannon
cshannon previously approved these changes Apr 16, 2026
…-on resolves

The BrokerXmlConfigStartTest loads all activemq-*.xml sample configs
which import jetty.xml. Since jetty.xml now has depends-on="broker" on
the invokeStart bean, the sample configs need a matching bean id.
@jbonofre jbonofre merged commit e82cf7d into apache:activemq-5.19.x Apr 17, 2026
@jbonofre jbonofre deleted the backport-1931-5.19.x branch April 17, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

2 participants